import TableColumnConfiguration from "./TableColumnConfiguration";

class TableConfiguration {
    constructor({tableColumnsInfo=new Array(TableColumnConfiguration),
                    hasAddBtn = true,
                    hasDetailBtn = true,
                    hasModifyBtn = true,
                    hasDeleteBtn = true}) {
        this.tableColumnsInfo = tableColumnsInfo;
        this.hasAddBtn = hasAddBtn;
        this.hasDetailBtn = hasDetailBtn;
        this.hasModifyBtn = hasModifyBtn;
        this.hasDeleteBtn = hasDeleteBtn;
    }
}

export default TableConfiguration